Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: How do I verify these files are already installed on Ubuntu 12.10?

  1. #11
    Join Date
    Dec 2006
    Beans
    6,923

    Re: How do I verify these files are already installed on Ubuntu 12.10?

    Quote Originally Posted by regency View Post
    I DO know that Linux machines don't need antivirus software.

    Nevertheless I wish to install it just so I can learn the basics of issuing Linux commands (to be more exact Debian commands).

    I can't learn computing or Linux by picking up and reading a manual. I have to have a project to work on and as I work on it, I pick up skills and concepts along the way.
    Well, bearing in mind all the excellent advice already given above, you may be interested to know that versions of applications in use, kernel build etc can also be found without necessarily resorting to the Software Centre or dpkg commands. For the kernel in use there is the uname command:

    Code:
    andrew@skamandros~$ uname --help
    Usage: uname [OPTION]...
    Print certain system information.  With no OPTION, same as -s.
    
      -a, --all                print all information, in the following order,
                                 except omit -p and -i if unknown:
      -s, --kernel-name        print the kernel name
      -n, --nodename           print the network node hostname
      -r, --kernel-release     print the kernel release
      -v, --kernel-version     print the kernel version
      -m, --machine            print the machine hardware name
      -p, --processor          print the processor type or "unknown"
      -i, --hardware-platform  print the hardware platform or "unknown"
      -o, --operating-system   print the operating system
          --help     display this help and exit
          --version  output version information and exit
    
    Report uname bugs to bug-coreutils@gnu.org
    GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
    General help using GNU software: <http://www.gnu.org/gethelp/>
    For complete documentation, run: info coreutils 'uname invocation'
    and many applications will respond to a --version command, such as gcc:

    Code:
    andrew@skamandros~$ gcc --version
    gcc (GCC) 4.7.1
    Copyright (C) 2012 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    There have even been times where this wil be a more accurate way of finding version information as for a very small number of applications the Debian/Ubuntu package naming has been a little confusing. The example that springs to mind is the Ubuntu wine package.
    You think that's air you're breathing now?

  2. #12
    Join Date
    Dec 2012
    Beans
    51

    Re: How do I verify these files are already installed on Ubuntu 12.10?

    @ andrew.46

    Thanks pal for your help.

  3. #13
    Join Date
    Jan 2007
    Beans
    6,542
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: How do I verify these files are already installed on Ubuntu 12.10?

    Quote Originally Posted by regency View Post
    Nevertheless I wish to install it just so I can learn the basics of issuing Linux commands (to be more exact Debian commands).
    That's fine, but is there much point in knowing to do things the wrong way? Linux might not be as hard to learn if you do things the right, easy way.

  4. #14
    Join Date
    Sep 2012
    Location
    I think EARTH
    Beans
    76
    Distro
    Ubuntu 12.04 Precise Pangolin

    Smile Re: How do I verify these files are already installed on Ubuntu 12.10?

    Easiest way...Use apt-get install followed by all the packages you mentioned.The ones which are not installed will be installed then.For others you will get the confirmation that the package is installed.Simple enough.

  5. #15
    Join Date
    Aug 2012
    Location
    Queensland, Australia
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How do I verify these files are already installed on Ubuntu 12.10?

    For purely information gathering (no installing) OP, you can also try
    Code:
    apt-cache policy <package-name>
    on each of your packages.

    for example,
    Code:
    apt-cache policy gcc
    will tell you if it is installed, what version is installed and what versions are available.

Page 2 of 2 FirstFirst 12

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
  •