How to uninstall libraries (installed through compile) in Ubuntu? - linux

I tried installing libtiff 4.0.3 through using the commands:
./configure
make
make install
It installed fine. However, I recently found out that I got the versions wrong and so I need to install a new one with a different version. I'd like to how know to remove libtiff from my Ubuntu setup. Would it be the same as sudo apt-get remove [x]? And how do I know what to put on x if I didn't install it through sudo apt-get install [x] command? Would appreciate some help. Thanks. :)

You can't use apt-get to remove something that wasn't installed as a package. Try running make uninstall. – Blender

Related

/usr/bin/ld: cannot find -lcodec2 Error installing pycodec2

I am unable to install pycodec2. I first git cloned the pycodec2 repo. Then cloned and installed codec2 repo inside it. I had to edit a few paths in pycodec2, but after so much tinkering I am unable to get the pycodec2 running. Does anybody have experience installing pycodec2 and can share the steps?
Thanks!
You will need to install either the codec2 libraries, and/or the development files, depending on whether or not it is using them to run, or to compile.
On Ubuntu you can achieve this with:
sudo apt-get install libcodec2 libcodec2-dev
i have installed the pycodec2 successfully on ubuntu 20.04!
1. sudo apt install libcodec2-dev
2. sudo apt install codec2
# or install codec2 as officer website.
3. pip install pycodec2

How to install node-v6.11.0-linux-x86.tar.xz in Ubuntu

I'm a windows user and I'm having a difficulty installing the latest version of NodeJS.
I've tried sudo apt-get install -y nodejs and it installed v0.10.25 version.
Can someone guide me how to install the tar.xz file properly.
Use nvm
It'll take care of everything.

Regarding to installation of Gsreamer 1.8.0 in ubuntu

Can any one give me the proper guidelines for gstreamer(1.8.0) installation in Ubuntu version 16.04??
Through command line
For installing gstreamer1.0 you can use:
sudo apt-get install libgstreamer1.0-* gstreamer1.0-tools gstreamer1.0-libav*
Depending on what are your needs, you probably are going to need other modules that are not installed in the previous command. I would consider adding:
gst-plugins-base
gst-plugins-good
gst-plugins-bad
gst-plugins-ugly
Using next command:
sudo apt-get install gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly
After you have installed all the plugins you can verify the installation using:
gst-inspect-1.0

No gui after uninstalling gtk2.0 in ubuntu 16.10

I have ubuntu 16.10 version installed. I uninstalled gtk using sudo apt-get remove --purge gtk2.0. After rebooting, my whole gui is not loading, no login screen also. I can access other terminals using Ctrl+Alt+f1. How can i get my gui interface back?. Anyhelp is appreciated.thanks.
You might probably want to try this:
sudo apt-get install ubuntu-desktop^
This should install all the packages of standard Ubuntu Desktop that you've removed.
Alternatively, you can check the logs of apt /var/log/apt/history.log and install back the packages that got removed.

QT version is not properly installed, please run make install

I installed QT-creator from a downloaded copy of qt-creator-linux-x86-opensource-2.6.1.bin using
sudo ./qt-creator-linux-x86-opensource-2.6.1.bin
in Ubuntu 11.04
I tried to add QT versions in QT-Creator/Build/QT-versions configuration and it asked for a qmake executable.
I installed it using:
sudo apt-get install qt4-devel
which deployed qmake in /usr/bin/qmake
I selected it in QT-Creator/Build/QT-versions configuration as manual, Qt-4.7.2 (System) /usr/bin/qmake-qt4 but QT version is not properly installed, please run make install message appears and I can't use it in QT-Creator/Build/Kits configuration.
How can I solve the problem and configure qmake for Qt-creator use in project creation?
This solved the problem for me on recent Ubuntu version:
sudo apt-get install qt5-default
Just so this no longer shows up as unanswered:
To install all qt-devel libraries, use
sudo apt-get install qt4-dev-tools libqt4-dev libqt4-core libqt4-gui
In Linux Mint 18.3 (32 bit) it also solved the problem:
sudo apt-get install qt5-default
So that Qt5 (5.5.1) was installed ready-to-use as a kit in QtCreator.
Although to install the Qt 5.9.0 version I had to explicitly download the package from https://download.qt.io/official_releases/qt/5.9/5.9.0/single/ (2 Gb unpacked) .
Then I had to run this command in terminal:
cd /home/username/Downloads/qt-everywhere-opensource-src-5.9.0
Then this command:
./configure
Then this
make
I was having this problem even after sudo apt-get install qt5-default (it was already installed).
However the version of QMake I had pointed to was in the Linux Processor SDK (02.00.02.11)
I fixed it by sourcing the environment setup before running qtcreator. The following shell script did it for me:
source /opt/ti/processor-sdk-linux-am335x-evm-02.00.02.11/linux-devkit/environment-setup
# substitute the location where the SDK is installed.
~/Qt5.9.0/Tools/QtCreator/bin/qtcreator -block
# substitute the location where QTCreator is installed

Resources