Saturday, February 13, 2016

apt - Software installation on Ubuntu


How can I know what packages(i.e. *.deb) are needed to install a software (in terminal).


Suppose that I want to install VLC fully via terminal. If I run the following code then it will install the VLC along with other needed packages. It will download all required files and will store in /var/cache/apt/archives.


How can I know what other packages(i.e. lib***.deb and like this) except the VLC(i.e. vlc_2.2.2-5_amd64.deb and like this vlc**.deb) are needed to completely install VLC(or any other software) before running this commands(without INTERNET)?


sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get install vlc vlc-plugin-*

The reason is because in my country the cost of Internet is high. So I want to check if the required files are present or not in my PC(i.e. previously downloaded or not! for any other software).



the upper code is from VLC media player installation on Ubuntu 14.04




run sudo apt depends
in your case sudo apt depends vlc


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...