sudo apt-get install

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
mike acker
Level 6
Level 6
Posts: 1374
Joined: Wed Jul 31, 2013 6:29 pm
Location: Kalamazoo, MI

sudo apt-get install

Post by mike acker » Wed Dec 25, 2013 7:25 pm

I would like to add pdfshuffler to my MINT system,--
however: pdfshuffler does not come up on the software manager...

if i go after it this way:

Code: Select all

sudo apt-get install pdfshuffler
will it pull from a certified library ? i think this program comes from SourceForge but I don't remember for sure
¡Viva la Resistencia!

User avatar
xenopeek
Level 24
Level 24
Posts: 21795
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: sudo apt get install

Post by xenopeek » Wed Dec 25, 2013 7:54 pm

pdfshuffler is in the default repositories. So it should come up. You can indeed also install it from the terminal and that will get it the same way as Software Manager gets it (Software Manager, Synaptic, apt-get, aptitude, and others are all just front-ends and all use APT to actually work on packages). On Linux Mint you do that easiest with this command:

Code: Select all

apt install pdfshuffler
Image

mike acker
Level 6
Level 6
Posts: 1374
Joined: Wed Jul 31, 2013 6:29 pm
Location: Kalamazoo, MI

Re: sudo apt get install

Post by mike acker » Thu Dec 26, 2013 7:21 am

xenopeek wrote:pdfshuffler is in the default repositories. So it should come up. You can indeed also install it from the terminal and that will get it the same way as Software Manager gets it (Software Manager, Synaptic, apt-get, aptitude, and others are all just front-ends and all use APT to actually work on packages). On Linux Mint you do that easiest with this command:

Code: Select all

apt install pdfshuffler

Code: Select all

 ~ $ apt install pdfshuffler
[sudo] password : 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package pdfshuffler
 ~ $ 
hmmmmmmm it didn't show in the software manager, either -- which is why i asked about it.

i think pdfshuffler comes from SourceForge which has a very good reputation. I'll see if I can download it a little later this morning .
¡Viva la Resistencia!

mike acker
Level 6
Level 6
Posts: 1374
Joined: Wed Jul 31, 2013 6:29 pm
Location: Kalamazoo, MI

Re: sudo apt-get install

Post by mike acker » Thu Dec 26, 2013 7:37 am

UPDATE:
the pdfshuffler downloaded from Source Forge, no problem.

however: no effort was made to provide a PGP signature with which to verify the software :( *

here's the install instruct:

Code: Select all

PDF-Shuffler requires python-poppler and version 1.10 or newer of python-pypdf.

PDF-Shuffler is written in Python using PyGTK. It is released under the GNU GPL-3.

In order to install run:

 python setup.py install

as superuser.
~~
* what PGP does, and I think this is a good procedure is to
(1) tar the distribution package
(2) sign the tar
(3) tar the pgp signature together with the distribution package tar
(4) post the second .tar as the download .
¡Viva la Resistencia!

User avatar
xenopeek
Level 24
Level 24
Posts: 21795
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: sudo apt-get install

Post by xenopeek » Thu Dec 26, 2013 9:23 am

Which Linux Mint version are you on? It should be in Linux Mint 13 through 16, as it's in the Ubuntu base repository: http://packages.ubuntu.com/search?keywo ... ection=all. And I installed through the apt command also to confirm :wink:

Something may be wrong with your repositories? Can you share the output of:

Code: Select all

inxi -Sr
Image

mike acker
Level 6
Level 6
Posts: 1374
Joined: Wed Jul 31, 2013 6:29 pm
Location: Kalamazoo, MI

Re: sudo apt-get install

Post by mike acker » Thu Dec 26, 2013 2:00 pm

yes:

Code: Select all

 ~ $ inxi -Sr
System:    Host: {} Kernel: 3.8.0-19-generic x86_64 (64 bit) Desktop: Gnome Distro: Linux Mint 15 Olivia
Repos:     Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
           deb http://packages.linuxmint.com olivia main upstream import #id:linuxmint_main
           deb http://archive.ubuntu.com/ubuntu raring main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu raring-updates main restricted universe multiverse
           deb http://security.ubuntu.com/ubuntu/ raring-security main restricted universe multiverse
           deb http://archive.canonical.com/ubuntu/ raring partner
 ~ $ 
¡Viva la Resistencia!

User avatar
xenopeek
Level 24
Level 24
Posts: 21795
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: sudo apt-get install

Post by xenopeek » Thu Dec 26, 2013 4:44 pm

Those look fine. You may try these two commands to completely refresh your package indexes:

Code: Select all

sudo rm -fv /var/lib/apt/lists/*
sudo apt-get update
That has helped several users before that got stuck with their repositories being correct, but them being unable to find many packages for installation.
Image

mike acker
Level 6
Level 6
Posts: 1374
Joined: Wed Jul 31, 2013 6:29 pm
Location: Kalamazoo, MI

Re: sudo apt-get install

Post by mike acker » Fri Dec 27, 2013 10:34 am

xenopeek wrote:Those look fine. You may try these two commands to completely refresh your package indexes:

Code: Select all

sudo rm -fv /var/lib/apt/lists/*
sudo apt-get update
That has helped several users before that got stuck with their repositories being correct, but them being unable to find many packages for installation.
OUTSTANDING!!

Thank you very kindly; that turned the trick!!
¡Viva la Resistencia!

Post Reply

Return to “Newbie Questions”