How to install snmp on #50-Ubuntu 64 GNU/Linux?


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers How to install snmp on #50-Ubuntu 64 GNU/Linux?
# 1  
Old 09-13-2016
Question How to install snmp on #50-Ubuntu 64 GNU/Linux?

Hi all,
I am trying to install snmp on a Linux VM so I can use snmpwalk, snmpget etc.
On searching the forum I found two old posts from 2010/11. So I wanted to ask again if there are any updated instructions on how to install snmp.

On web I found a few instructions but they suggested using yum and I am getting following error when I tried it:
Code:
root@hostname:/usr/bin# yum install net-snmp net-snmp-utils
There are no enabled repos.
 Run "yum repolist all" to see the repos you have.
 You can enable repos with yum-config-manager --enable <repo>
root@hostname:/usr/bin# yum repolist all
repolist: 0

And when I searched for this error some posts suggest one should use
Code:
sudo apt-get install

and not try
Code:
yum

.
I got more confused with this and looking for some direction here.
# 2  
Old 09-13-2016
Ubuntu comes with apt (apt-get) as the default package handler, although you seem to have a very basic yum installation on your VM as well.
Try
Code:
sudo apt install snmp

This User Gave Thanks to RudiC For This Post:
# 3  
Old 09-13-2016
Thank you RudiC. It worked fine.
Can you also point me to some reliable instructions to configure snmp please?

I see "/etc/snmp/snmp.conf" but there is no "/etc/snmp/snmpd.conf". I am not sure if that's how it is supposed to be.
# 4  
Old 09-14-2016
Sorry, no clue. I usually try man (and the references therein) and apropos first.
# 5  
Old 09-21-2016
[Solved] How to install snmp on #50-Ubuntu 64 GNU/Linux?

Thank you for your help RudiC. Just for use of anyone who might come to this post in future, I followed instructions from this site and it worked for me (both installation and configuration).

Beginners Guide to Installing, Using, and Configuring Net-SNMP - Part 1 - Make Tech Easier
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Install Tensorflow on Ubuntu

Hi, Please, how can fix this error: (myvenv)root@graphene-121:~# pip install --upgrade tensorflow Downloading/unpacking tensorflow Cannot fetch index base URL Simple index Could not find any downloads that satisfy the requirement tensorflow Cleaning up... No distributions at all... (8 Replies)
Discussion started by: chercheur111
8 Replies

2. Ubuntu

Re-install Ubuntu 14.04 from system with Ubuntu on it

I need to re-install ubuntu on a system with ubuntu 14.04 already installed. I have the cd but can not seem to boot from it or find the installer. Is there a way to re-install from the command line or how do I do a fresh re-install? Thank you :) ---------- Post updated at 10:13 AM... (2 Replies)
Discussion started by: cmccabe
2 Replies

3. UNIX and Linux Applications

Cannot compile/install gnu program

Hello, I'm trying to install ansifilter which is a program that translates ansi text to HTML. The idea is to install it on AIX 7.1 but is failing. All de appropriate gcc libraries and requirements for this software were installed successfully, but when I do the gmake I get the following... (4 Replies)
Discussion started by: bazajav
4 Replies

4. AIX

Cannot compile/install gnu program on AIX

Hello, I'm trying to install ansifilter which is a program that translates ansi text to HTML. The idea is to install it on AIX 7.1 but is failing. All de appropriate gcc libraries and requirements for this software were installed successfully, but when I do the gmake I get the following... (0 Replies)
Discussion started by: bazajav
0 Replies

5. Ubuntu

What is the easiest way to install Ubuntu?

I am planning to dual boot Windows XP and Ubuntu 9.04, I have already burned Ubuntu into a CD and have also downloaded the ISO. But when I go to My Computer to start the installation, a different icon appears. And when I open it with ISO Buster, it opens up separately. I'm confused on what to... (5 Replies)
Discussion started by: Anna Hussie
5 Replies

6. Ubuntu

XP and Linux (Ubuntu) on same disk, Can I install Ubuntu on not-yet partitioned portion of disk?

My PC (Esprimo, 3 yeas old) has one hard drive having 2 partitions C: (80 GB NTFS, XP) and D: (120 GB NTFS, empty) and and a 200 MB area that yet is not-partitioned. I would like to try Ubuntu and to install Ubuntu on the not-partitioned area . The idea is to have the possibility to run... (7 Replies)
Discussion started by: C.Weidemann
7 Replies

7. Ubuntu

how to install g++ in ubuntu?

on giving the command sudo apt-get install build-essentials it asks for password then the following is displayed Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package build-essentials (5 Replies)
Discussion started by: sparkle
5 Replies

8. UNIX for Dummies Questions & Answers

Would like to install x86 desktop Ubuntu over AMD64 Ubuntu server

My intention was to build a dual boot XP Pro 64 and Ubuntu media server. I had installed the AMD64 version of Ubuntu 8.10 server and thought that I would be able to install Apache server. I need a GUI to work in. I tried to boot and install Mythbuntu 32 bit 8.10, but my machine now won't recognize... (0 Replies)
Discussion started by: docflyboy
0 Replies
Login or Register to Ask a Question