Repository navigation
Expand file tree
/
Copy pathREADME
More file actions
43 lines (33 loc) · 1.59 KB
/
Copy pathREADME
File metadata and controls
43 lines (33 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Latest update:
Run the create-app file: source create-app and the app is automatically created
The following needs to be run before building Geant4 on a clean system (only if you are building from the source):
#install git
sudo apt-get install git
#install cmake
sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ xenial main'
sudo apt-get update
sudo apt-get install cmake
sudo apt-get install libxerces-c-dev
sudo apt-get install qt5-default
sudo apt-get install libxmu-dev
//Old instructions:
Download from https://github.com/linuxdeploy
a) linuxdeploy
b) linuxdeploy-plugin-qt
c) linuxdeploy-plugin-appimage
and put them all in the same location
Run the command
./linuxdeploy-centos6-x86_64.AppImage --appdir=/home/samuel/simple-app --output appimage --plugin qt
(or)
./linuxdeploy-x86_64.AppImage --appdir=/home/samuel/simple-app --output appimage --plugin qt
for creating the appImage.
simple-app is the directory inside which the "appimage" directory structure will be automatically created.
The first time this is executed, it will result in an error but no worries.
Next,
a) in the bin folder,put the simple executable
b) in the applcations folder put the simple.desktop file
c) in the 256x256 folder put the simple.png file
d) copy the xcbglintegrations plugin folder from the system (/usr/lib/x86_64-linux-gnu/qt5/plugins) to the plugins folder (inside /usr)
e) most of the root folders (etc, bin, lib, fonts, include etc...) should also be copied inside the usr folder
Run the command again.
./linuxdeploy-centos6-x86_64.AppImage --appdir=/home/samuel/simple-app --output appimage --plugin qt