Sponsored Content
Top Forums UNIX for Beginners Questions & Answers How to install snmp on #50-Ubuntu 64 GNU/Linux? Post 302981487 by pat_pramod on Tuesday 13th of September 2016 04:29:49 PM
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.
 

8 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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
yum-complete-transaction(8)											       yum-complete-transaction(8)

NAME
yum-complete-transaction - attempt to complete failed or aborted Yum transactions SYNOPSIS
yum-complete-transaction [options] GENERAL OPTIONS
-h, --help Help; display a help message and then quit. --cleanup-only Only clean up only transaction journal files and exit. DESCRIPTION
yum-complete-transaction is a program which finds incomplete or aborted yum transactions on a system and attempts to complete them. It looks at the transaction-all* and transaction-done* files which can normally be found in /var/lib/yum if a yum transaction aborted in the middle of execution. If it finds more than one unfinished transaction it will attempt to complete the most recent one first. You can run it more than once to clean up all unfinished transactions. FILES
As yum-complete-transaction uses YUM libraries for retrieving all the information, it relies on YUM configuration for its default values like which repositories to use. Consult YUM documentation for details: /etc/yum.conf /etc/yum/repos.d/ /var/cache/yum/ SEE ALSO
yum.conf (5) http://yum.baseurl.org/ AUTHORS
See the Authors file included with this program. BUGS
There are of course no bugs, but should you find any, you should first consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if unsuccessful in finding a resolution contact the mailing list: yum-devel@lists.baseurl.org. To file a bug use http://bugzilla.redhat.com for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report for all other bugs. Seth Vidal 10 December 2007 yum-complete-transaction(8)
All times are GMT -4. The time now is 04:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy