Results 1 to 9 of 9

Thread: How to install packages on Ubuntu Server

  1. #1
    Join Date
    Sep 2012
    Beans
    7

    How to install packages on Ubuntu Server

    I installed the server on one of my computers and set it up with my network. However whenever I try to install a package it says it can't find it. I tested it by pinging Google and it worked, but it never found any package even the ones it suggested I use. How can I install packages and specifically the desktop for the server?

  2. #2
    wojox is offline I Ubuntu, Therefore, I Am
    Join Date
    Apr 2009
    Beans
    8,628

    Re: How to install packages on Ubuntu Server

    Try:
    Code:
    sudo apt-get update; sudo apt-get upgrade

  3. #3
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,790
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How to install packages on Ubuntu Server

    Hi Johnyburd. Welcome to the forums

    First start by updating your sources:
    Code:
    sudo apt-get update
    Then, let's search for 'nmap':
    Code:
    apt-cache search nmap
    this would be the results:
    Code:
    nmap - The Network Mapper
    doscan - port scanner for discovering services on large networks
    foomatic-gui - GNOME interface for configuring the Foomatic printer filter system
    honeyd - Small daemon that creates virtual hosts simulating their services and behaviour
    knmap - KDE interface to nmap, the Network Mapper
    knmap-docs - KDE interface to nmap, the Network Mapper — manual
    libnmap-parser-perl - parse nmap scan data with perl
    nmapsi4 - graphical interface to nmap, the network scanner
    p0f - Passive OS fingerprinting tool
    pads - Passive Asset Detection System
    pbnj - a suite of tools to monitor changes on a network
    piwi - P(erl|relude) IDS Web Interface - A frontend to your Prelude database
    pnscan - Multi threaded port scanner
    psad - The Port Scan Attack Detector
    python-scapy - Packet generator/sniffer and network scanner/discovery
    umit - network tool and graphical frontend for nmap
    xprobe - Remote OS identification
    zenmap - The Network Mapper Front End
    To install the actual 'nmap' package:
    Code:
    sudo apt-get install nmap
    Hope it helps, and let us know how it goes.
    Regards.

  4. #4
    Join Date
    Sep 2012
    Beans
    7

    Re: How to install packages on Ubuntu Server

    When I try
    sudo apt-get update
    it just list a one bunch of packages and says it can't find them either.
    Is there something I need to do when I first install the server?

  5. #5
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: How to install packages on Ubuntu Server

    Can you post the full output of 'sudo apt-get update' so we can see what the problem is please.
    Cheesemill

  6. #6
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: How to install packages on Ubuntu Server

    I've just noticed that in your first post you want to install a desktop on your server. If this is the case then you may as well just install the desktop version of Ubuntu to start with.
    Cheesemill

  7. #7
    Join Date
    Sep 2012
    Beans
    7

    Re: How to install packages on Ubuntu Server

    If I do that can I still make a server? That would be a lot easier.

  8. #8
    Join Date
    Jan 2011
    Location
    New York
    Beans
    155
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to install packages on Ubuntu Server

    Quote Originally Posted by Johnyburd View Post
    If I do that can I still make a server? That would be a lot easier.
    You would need whatever packages related to what you wanted your server to do: i.e. Apache, MySQL, PHP, etc. but yes you could just install the desktop version of Ubuntu and retrieve the packages you want to run a server. It's just that people usually don't run a server-only system with a desktop...which from what I assume is the aim of Ubuntu Server Edition.

    Check this out for more info:
    https://help.ubuntu.com/community/ApacheMySQLPHP
    http://www.linuxdistrocommunity.com
    http://www.matthewjpage.com
    Intel i7 3.40 Ghz, 8 GB RAM, 1.5 TB HDD, AMD/ATI Radeon HD 6770
    Quad Boot : Windows 7, Ubuntu 12.04,Gentoo, and Arch Linux

  9. #9
    Join Date
    Sep 2012
    Beans
    7

    Re: How to install packages on Ubuntu Server

    Yeah I'll do that. I'm going to Install FOG on Ubuntu.
    thx,
    johnyburd

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •