What is the difference between deb packages and tar balls

Costas

Administrator
Staff member
Debian-based distributions (Debian, Ubuntu, Mint etc.)
reference
http://tecadmin.net/compile-and-install-source-package-on-ubuntu/

deb packages are managed by package managers such as apt and aptitude. So whenever you install a software with it, they will automatically figure out if you have the dependencies that are required to run that software on your system and will install them for you.

if you are using a tar ball install it, you will have to figure out what that software depends on and each time you will have to check manually whether the dependencies of the software you are installing were already installed previously.


source http://askubuntu.com/a/140772





http://www.maketecheasier.com/install-software-from-a-tarball-in-linux/
http://www.cyberciti.biz/faq/install-tarballs/
http://www.makeuseof.com/tag/compile-install-tar-gz-tar-bz2-files-ubuntu-linux/

How to Install Software from a Tarball in Linux

-Extract the tarball
JavaScript:
tar -zxvf mytarball.tar.gz
or
tar xzf file.tar.gz
-Navigate into dir and type
JavaScript:
./configure
check of various parts of your system + if the package dependencies exist
-we compile the source code into a runnable program.
JavaScript:
make
-the program can be fully installed into the correct locations for it to be run from anywhere.
JavaScript:
sudo make install


reference
q: error - C++ preprocessor “/lib/cpp” fails sanity check
a: sudo apt-get install g++ (source http://askubuntu.com/questions/509663/c-preprocessor-lib-cpp-fails-sanity-check)

q: error - wxWidgets must be installed on your system
a: first wx-config --list then sudo apt-get install libwxbase2.8-dbg (source http://forums.wxwidgets.org/viewtopic.php?t=26587)

q: libavformat libavcodec libavutil libswscale libavfilter missing
a: sudo apt-get install libavformat-dev
sudo apt-get install libswscale-dev
sudo apt-get install libavfilter-dev

q: how to install ffmpeg
q: sudo apt-add-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get install ffmpeg (source http://launchpad.net/~mc3man/+archive/ubuntu/trusty-media)
 
Top