How To Simplify Installation Of Kvm

Hi experts,

so the steps to install kvm is this:

Code:
sudo apt-get install qemu-kvm libvirt-bin bridge-utils virt-manager

according to this webpage: http://www.howtogeek.com/117635/how-...nes-on-ubuntu/

Can I make this simpler?

I want to do just one command: sudo apt-get install kvm, and it should call and install all these packages.

Thanks


Similar Content



Can Confirmation Be Bypassed In CLI While Installing Software Or Upgrading?

I don't know why I want this, but is there a way the Code:
sudo aptitude install <package>

or Code:
sudo aptitude upgrade

command could bypass the confirmation stage? It's always occurred to me shouldn't there be some command parameter for install/upgrade that does the work?

Let me give an example. Suppose I want to install Variety, the wallpaper changing application. Now, I know that I want to install the software with all the dependencies it requires to install/run - the entire package. So, isn't it obvious that I would press Y when aptitude shows the info what it's going to download/install and asks for permission?

I can't, however, imagine scenarios when seeing that information I'd change my mind and press N to abort the install/upgrade procedure.

I Have Ubuntu Server (14.10) And I Want To Use Internet

hello, I changed ubuntu 11 to ubuntu 14.10.

At the time of installation, I chose only open ssh for installation and I installed successfully.
now, I have not apache2, because when I typed
Code:
 sudo apt-get install apache2

I see:
Code:
Unable to locate package apache2


It is clear I have not apache2.now,I want to connect in internet and install it.

thanks.

Installing Nvidia Proprietary Driver 343 On Ubuntu (Unity)/Linux Mint (Cinnamon) X64

Hey guys. So I just went out and bought a Sager 8268-s (clevo p150sm-a) With an i7 4910mq and a Nvidia 980m gt. As I am a computer tech by trade, every time i see Windows i get horrible PTSD so i decided to try Linux instead. After many hours of trying to get a dual boot working finally got Linux Mint 17 Cinnamon installed on my computer, but when I went to install the Nvidia driver it landed me in fallback mode which I could not escape. So then I tried Ubuntu 14.04 LTS thinking maybe Mint was incompatible with the driver and the same thing happened.

So here is my method:

(sorry i don't know how to make a code box :/ )

First I log in to get root access:

$ su

Then I Update the xorg:

$ sudo apt-add-repository ppa:xorg-edgers/ppa

Then update my system:

$ sudo apt-get update && sudo apt-get dist-upgrade

Then i go into Virtual terminal (Ctrl+Alt+F1) and disable the display manager:

$ sudo service mdm (or lightdm for Ubuntu) stop

Then i install the drivers which i have done multiple ways:

$ sudo apt-get install nvidia-current nvidia-settings

or

$ sudo apt-get install nvidia-343 nvidia-settings

or by downloading the driver from Nvidia (first designating the file as executable)

$ sudo sh nvidia.run && sudo apt-get install nvidia-settings

Then after install, I create the config file:

$ sudo nvidia-xconfig

Then I reboot. After I get the low res mode in Ubuntu or fallback mode in Mint and Driver manager doesn't detect any proprietary drivers and I have to reinstall to get the OS working again. Any suggestions would be greatly appreciated.

Enable Cgi

I have the below URL

http://linoxide.com/ubuntu-how-to/awstats/

in this URL , it have the command "sudo a2enmod cgi" to check the cgi is installed or not , but when I run it , it pops "bash: a2enmod: command not found" , I tried to install it by yum install a2enmod" , but got the below message , would advise how to install it .
Code:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.uhost.hk
 * epel: ftp.cuhk.edu.hk
 * extras: centos.uhost.hk
 * updates: centos.uhost.hk
No package a2enmod available.
Error: Nothing to do

I Try To Install Ns2.33 On Ubuntu 10.10 In Order To Run ZRP Protocol

Hello every one
please I need your help to fix my problem to install ns2.33allinone on the ubuntu 10.10 in order to run ZRP protocol for security purpose.
before this time I install every thing correctly as follow
The steps I follow to run the ZRP on the Ubuntu 10.10 and Ns2-allinone-2.33
------------------------------------------------------------------
1. first install the Ubuntu 10.10 on VMwear and download the ns2.33 and exract it in the home directory

2.Ubuntu 10.10 - 32´ is old. you have to replace the text in /etc/apt/sources.list , to be able to install packages.
So you write
$ gedit /etc/apt/sources.list
After the file open remove all the text and past the following text instead it.
#
deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security multiverse universe
#

Then save the file and close.

3.Write the following command to update the system
$ sudo apt-get update

4.download the two files from the following link and save it in the home directory

gcc41-compat , `gcc41-compat-4.1.2_i386.deb' :
https://drive.google.com/file/d/0B7S...it?usp=sharing
g++41-compat , `g++41-compat-4.1.2_i386.deb' :
https://drive.google.com/file/d/0B7S...it?usp=sharing

5.write the following command to install
$ sudo dpkg -i g++41-compat-4.1.2_i386.deb gcc41-compat-4.1.2_i386.deb

6.write the following command to update the packages
$sudo apt-get install libx11-dev libxmu-dev libxmu-headers libxt-dev libtool make automake autoconf g++

7. Download the ZRP from the following link and put it in the ns-allinone-2.33 directory
The latest "patch package" is zrp-ns233-patching.tar.gz
https://drive.google.com/file/d/0B7S...it?usp=sharing

8. After that you should follow the next steps
$ cd ns-allinone-2.33/
$ tar xvf zrp-ns233-patching.tar.gz
$ export CC=gcc41 CXX=g++41
$ ./install
$ cd ns-2.33/
$ sudo make install

9. Then you can download the example of the ZRP from the following link and run
ZRP examples : zrp-examples-2012.tar.bz2
https://drive.google.com/file/d/0B7S...it?usp=sharing

but now when i try to install it again i got this error
after i run "./install" command
#
============================================================
* Build tcl8.4.18
============================================================
configu WARNING: unrecognized options: --enable-gcc
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for gcc... gcc41
checking whether the C compiler works... no
configu error: in `/home/ali/ns-allinone-2.33/tcl8.4.18/unix':
configu error: C compiler cannot create executables
See `config.log' for more details
tcl8.4.18 configuration failed! Exiting ...
Tcl is not part of the ns project. Please see www.Scriptics.com
to see if they have a fix for your platform.
#

so please if any one can help me to fix this problem or give me any advice how to run ZRP protocol and the appropriate environment to run it
thanks in advance for your help

Checking Version Of Ns2 Installed Ubuntu 12.04

i installed ns2 using following 4 commands
sudo apt-get update
sudo apt-get install ns2
sudo apt-get install nam
sudo apt-get install tcl
sudo apt-get install xgraph

on ubuntu 12.04

but how to know that which version of ns2 is installed???????

Problem Ns2 With Centos6.6

Hello all

i need to install ns2.34 in centos 6.6

with this
http://bhavanme2011.blogspot.com/

but i can t install the packages

yum install autoconf
yum install automake
yum install gcc-c++
yum install libX11-devel
yum install libX-devel
yum install libXt-devel
yum install libXmu-devel
yum install xorg-x11-proto-deve
finally
yum update audit

when i execute it

i have this msg

Loaded plugins: fastestmirror, refresh-packagekit, security
You need to be root to perform this command.

Nam Error (not Running) With Ns2.32 On Ubuntu 12.04

I am working on LAR protocol, ns2 version = 2.32
OS = ubuntu 12.04

i successfully installed LAR NS on my system . but nam does not qork with ns-2.32 . so i tried to install with the following command

sudo make install nam ===> it successfully installed namv1.15 . but when i run box.tcl it is giving me the following error

SORTING LISTS ...DONE!
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 220.0
Segmentation fault (core dumped)

then i tried to remove the nam with this command sudo apt-get remove nam ==> removed
then i installed this nam from (nam_1.14_amd64.deb) . when i write nam it shows me network animator window v1.14 but segmentataion fault error remains the same .

I also tried to install nam-1.14.i586.tar.gz , first untar it and then the following command sudo cp nam /usr/local/bin but still the error .
i also tried with nam-1.14-x86_64.tar.gz but still no success.

if i dont use nam , then my box file runs successfully.
plz suggest me how to rectify this error.

Grub Directory Has Disappeared - Can't Reinstall Grub

I have tried installing a Ubuntu OS onto a partition (sda3).
When I had difficulties with the install, I decided to delete everything from the partition.

But now when I boot the computer, I get taken to the 'grub rescue' prompt.
I have tried to find grub in my other partitions (sda1 and sda2).
However, the command 'ls (hd0,msdos1)/' for example, does not show a grub directory.
It must've transferred grub to sda3 somehow and now I've deleted it.

I have debian live USB and am trying to install grub with:
Code:
apt-get install-grub /dev/sda

But I get the error message:
Code:
bash: grub-install: command not found

So now I don't know what's going on. Can anyone please help?

Ubuntu Directories

Hi there. I have Ubuntu 14.04 installed. Actually I have been doing a lot of work in this OS for about a year. The thing I cannot still comprehend is how to find files I installed. In this particular case I need glut.h for g++ compiler. So I go here, do this command;

Code:
sudo apt-get install freeglut3-dev

And find out that I already have the newest version (which I have suspected since I recall installing it).

So, the next step is to find the glut.h file and reference it with #include command. I cannot find it anywhere. This website says it has to be he

Code:
/usr/lib/x86_64-linux-gnu/libglut*

Why's the asterisk? Is it a footnote or part of the code?

I don't seem to have /usr/ directory. I cannot find it anywhere.

How does Ubuntu directory work?

Thanks, - A.