Peppermint OS Community Forum

Support => Software & Applications => Topic started by: markba633csi on April 11, 2017, 06:57:02 pm

Title: Installing a DEB file (solved)
Post by: markba633csi 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.
Title: Re: Installing a DEB file
Post by: PCNetSpec 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.
Title: Re: Installing a DEB file
Post by: markba633csi 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.
Title: Re: Installing a DEB file
Post by: PCNetSpec 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 ?
Title: Re: Installing a DEB file
Post by: markba633csi 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.
Title: Re: Installing a DEB file
Post by: murraymint 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.
Title: Re: Installing a DEB file
Post by: VinDSL 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]
Title: Re: Installing a DEB file
Post by: markba633csi 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.
Title: Re: Installing a DEB file (solved)
Post by: mac 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