Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
see whether i'm right?:
by running the command:
sudo apt-get clean
i cause all cached package in /var/cache/apt/archives be removed and the folder gets empty.
by running the command:
sudo apt-get -d snmp
i cause all packages required for snmp get downloaded to /var/cache/apt/archives.
by running the command:
sudo dpkg -i
one after another i cause the whole snmp gets installed. right?
if so, there're some disadvantages:
1. the source system loses all cached packages. i may prepare a backup before doing this though.
2. i've already these packages, because i've a system in which snmp is installed. how can i know that which ones required not to have to download them again? can apt-get list them instead of downloading them again?
3. in the last step i don't know the order of packages which have to be installed. maybe it's better to copy them to /var/cache/apt/archives then run apt-get install snmp, isn't it?
thx
Steve...: thanks for your suggestion, but i prefer not to compile sources. it may generate errors and compile switches may be different from one the publisher has set. i'm also not an expert in linux. it seems that binaries in the link u mentioned is compiled for Windows and i don't know what to do with sources which make an executable file for Windows is Linux.
see whether i'm right?:
by running the command:
sudo apt-get clean
i cause all cached package in /var/cache/apt/archives be removed and the folder gets empty.
by running the command:
sudo apt-get -d snmp
i cause all packages required for snmp get downloaded to /var/cache/apt/archives.
by running the command:
sudo dpkg -i
one after another i cause the whole snmp gets installed. right?
if so, there're some disadvantages:
1. the source system loses all cached packages. i may prepare a backup before doing this though....
Always make backups.
I don't know exactly what dpkg -i will do for Dependencies...sorry.
Net-Snmp on Ubuntu says to "sudo apt-get install libperl-dev", so that should be
Code:
sudo apt-get -d net-snmp libperl-dev
and then check /var/cache/apt/archives/
Copy those .debs to the off-line host and install in this order using dpkg -i ...
libperl-dev*.deb
net-snmp*.deb
I believe the package I installed on about a dozen Ubuntu servers isnet-snmp
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.