PINE64
How to install a package - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: How to install a package (/showthread.php?tid=8493)



How to install a package - mjcohen - 12-04-2019

I want to use Moeditor. I downloaded its 7z package, installed pk7zip, and unpacked it into its own directory.

How do I now install it? There is an executable Moeditor file in the directory.

Thanks.


RE: How to install a package - ventus_orientis - 12-05-2019

(12-04-2019, 10:20 PM)mjcohen Wrote: I want to use Moeditor. I downloaded its 7z package, installed pk7zip, and unpacked it into its own directory.

How do I now install it? There is an executable Moeditor file in the directory.

Thanks.

If its compiled for your distro (debian 9, ubuntu 18.04) and for arm you can just run it by making the binary executable and typing ./executable_name in the terminal while you are in the directory of the executable file. To "install" it you could copy it to /usr/bin/.

Generally you would install software on linux by using your package manager.
On the debian build you can find a graphical program to search for and install packages called synaptic.
Or you can use the terminal:
apt search [search term]
to search for packages and:
sudo apt install [package name]
to install packages (type without the brackets).

If you want software thats not in the package manager look for .deb archives that are specifically made for armhf. generally speaking: software compiled for the raspberry pi will often work.
.deb-files can be installed by double-clicking on most desktops or if that doesn't work from the terminal with:
sudo dpkg -i [filename.deb]
(again, type without brackets)

Hope that helps!