Results 1 to 4 of 4

Thread: Controlling what gets installed and checking what is installed with apt-get

  1. #1
    Join Date
    Jan 2010
    Beans
    23

    Controlling what gets installed and checking what is installed with apt-get

    Is there a general way to tell if an installed app is 32-bit or 64-bit?

    And if I'm on 64-bit ubuntu, do 64-bit versions of apps automatically get installed if there is one available (using the sudo apt-get install)? I.e. is apt-get intelligent enough to figure out that the 64-bit version is probably what I want, or do I need to set an extra flag or something to get the 64-bit version?

    I recently installed imagemagic using the following command:
    sudo apt-get -y install imagemagick

    On the imagemagick website it offers different types (low memory version versus higher accuracy one) and you can download the appropriate .rpm. Presumably this choice is also available through apt-get. Is there a way to query what options for install there are available through apt-get? Or is it more usual that apt-get can only install one thing and you need another repository or something to access a different version of the app?

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

    Re: Controlling what gets installed and checking what is installed with apt-get

    Quote Originally Posted by RevRhubar View Post
    is apt-get intelligent enough to figure out that the 64-bit version is probably what I want
    Every package in the repos is available in both 32-bit and 64-bit. The package manager will always install the right one for your system.

    Presumably this choice is also available through apt-get.
    Not really. Generally only one version of each package gets built.

  3. #3
    Join Date
    Sep 2012
    Location
    12o4/14o4
    Beans
    Hidden!

    Re: Controlling what gets installed and checking what is installed with apt-get

    You may want to use one of the advance package managers. I like Synaptic Package Manager.

    http://www.googlubuntu.com/results/?...ch&cof=FORID:9

    Ubuntu uses .deb packages although there are installers for .rpm, I do not recommend it or at best use it as a last resort. You can either go to the maintainer's site or you can get updated packages not offered in the software center by using the Ubuntu PPA's.

    http://www.googlubuntu.com/results/?...ch&cof=FORID:9

  4. #4
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 14.10 Utopic Unicorn

    Re: Controlling what gets installed and checking what is installed with apt-get

    If you're running 64-bit and you want to install the 32-bit version of a program in the repositories, you'd run
    Code:
    sudo apt-get install imagemagick:i386
    This assumes you have ia32-libs-multiarch already installed.

Tags for this Thread

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
  •