Choose style:

Author Topic: Installing a DEB file (solved)  (Read 1388 times)

0 Members and 1 Guest are viewing this topic.

Offline markba633csi

  • Jr. Member
  • **
  • Posts: 62
  • Karma: 6
  • New Forum User
    • View Profile
  • Peppermint version(s): 6.0
Installing a DEB file (solved)
« on: April 11, 2017, 06:57:02 pm »
I would like to install an app called DIA which is a program for drawing diagrams.  The file is a DEB file.  How would I go about installing it?
sudo apt-get install (name of file)
is that the general idea?
thanks
Mark S.
« Last Edit: April 12, 2017, 03:55:11 pm by markba633csi »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26325
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Installing a DEB file
« Reply #1 on: April 11, 2017, 07:03:02 pm »
If you have the .deb file .. just double-click it and the gdebi installer will fire up.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline markba633csi

  • Jr. Member
  • **
  • Posts: 62
  • Karma: 6
  • New Forum User
    • View Profile
  • Peppermint version(s): 6.0
Re: Installing a DEB file
« Reply #2 on: April 11, 2017, 08:38:47 pm »
Tried using gdebi and I get this error:
Error: dependency is not satisfiable: dia-common (=0.97.2.5-5)

Also tried moving package file to var/cache/apt/archives  and I get this:
error when moving (filename)
error moving file: permission denied

Also tried using the terminal
sudo apt-get install (path and filename)
I get an error message saying it cannot locate file

what the heck is going on?
yours truly
Mark S.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26325
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Installing a DEB file
« Reply #3 on: April 11, 2017, 08:45:41 pm »
That .deb requires another package as a dependency .. but that package is not contained in the default repos, so the system cannot find it.

Which instructions are you following to install DIA, and where did you get the .deb ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline markba633csi

  • Jr. Member
  • **
  • Posts: 62
  • Karma: 6
  • New Forum User
    • View Profile
  • Peppermint version(s): 6.0
Re: Installing a DEB file
« Reply #4 on: April 11, 2017, 10:46:37 pm »
I believe there is another part of the package which is resident but in the wrong location.  I'll do a bit of sleuthing and return later.
thanks
Mark S.

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 2002
  • Karma: 344
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: Installing a DEB file
« Reply #5 on: April 12, 2017, 06:25:51 am »
apt-get is for installing from the online repos/PPAs. It's not applicable for something you've already downloaded like that.

Offline VinDSL

  • Global Moderator
  • Hero
  • *****
  • Posts: 5454
  • Karma: 957
  • Peppermint Mod
    • View Profile
  • Peppermint version(s): Developmental Builds
Re: Installing a DEB file
« Reply #6 on: April 12, 2017, 07:12:22 am »
And, if you want to install Dia via CLI :

Code: [Select]
sudo apt-get install dia

Example ...


Code: [Select]
╭─vindsl@Boogaloo-5 ~  
╰─➤  sudo apt-get install dia
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  dia-common dia-libs dia-shapes gsfonts-x11
The following NEW packages will be installed:
  dia dia-common dia-libs dia-shapes gsfonts-x11
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 4,677 kB of archives.
After this operation, 23.5 MB of additional disk space will be used.
Do you want to continue? [Y/n]

Offline markba633csi

  • Jr. Member
  • **
  • Posts: 62
  • Karma: 6
  • New Forum User
    • View Profile
  • Peppermint version(s): 6.0
Re: Installing a DEB file
« Reply #7 on: April 12, 2017, 03:54:41 pm »
Thanks Vin,  I may try that later- what is CLI?
anyhow, I ended up installing an app called KICAD instead using the software manager and pointing it to the proper repo. - worked fine. Looks like a great program.   
Marking as "solved"
Mark S.

Offline mac

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1088
  • Karma: 336
    • View Profile
  • Peppermint version(s): Peppermint 7-8-9
Re: Installing a DEB file (solved)
« Reply #8 on: April 12, 2017, 04:53:05 pm »
CLI = Command Line Interface; aka terminal emulator (Sakura, in the case of Peppermint 7); aka terminal.  It's where you enter your commands.   ;)

cheers
Peppermint: Standing Out from the Cloud
Reg. Linux User #432835