I want to know how does apt install non .deb files like tar.gz..etc. I want to install eclipse.but it is available in .tar.gz file.I had installed eclipse from apt install eclipse
but i didn't find any .deb file of eclipse in /var/cache/apt/archives/
these means apt must've been installing eclipse from .tar.gz file?if yes then where are .tar.gz files are stored by apt? and How does apt install non .deb files?
APT
Apt is only used to do package management using dpkg
and deb
packages, it's a high level tools which make installation of packages easier.
To get download link of "eclipse" package:
$ apt download eclipse --print-uris |& grep -Po "http.*?deb"
http://archive.ubuntu.com/ubuntu/pool/universe/e/eclipse/eclipse_3.8.1-8_all.deb
or to download it in current directoey:
$ apt download eclipse
Tar
To install "eclipse" using
tar
files just extract the archive somewhere and run its executable file.The other situation is when you download a
tar
archive containing the software source code which depend on the software you should follow some instruction to compile and install it
No comments:
Post a Comment