Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DEB/RPM/mac] master branch - debug all unix packages, switch to DEB/RPM #1112

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mathildemerle
Copy link
Collaborator

@mathildemerle mathildemerle commented Mar 17, 2023

I was working on the packaging system, and i began to test & debug the old DEB and RPM system that was already in medInria from a long time ago. Finally i managed to get a smooth working DEB and RPM system, and debug the macOS packaging bug on master.

No more launcher script for the user, a real linux package that can be called from the terminal or the application list, put in dock favorites, installed and removed!

Also, cleaning the packages reduced the size. For instance for Ubuntu 262Mo to 243 Mo.

Fixes

Test branches

Ubuntu DEB Documentation

Devs : regular make package compilation.

# User installation/uninstallation
sudo dpkg -i medInria-4.0.0-Ubuntu_20.04-x86_64.deb
sudo apt-get install -f # to fix missing dependencies if any
sudo dpkg -r medinria
# OR
sudo apt install gdebi-core
sudo gdebi ./medInria-4.0.0-Ubuntu_20.04-x86_64.deb # command line
# OR
sudo apt install gdebi
gdebi-gtk ./medInria-4.0.0-Ubuntu_20.04-x86_64.deb # GUI to install/remove/read info
# Then the user only needs to:
medInria

Fedora RPM Documentation

Prerequisites on Fedora to create a RPM package: sudo yum install redhat-lsb-core rpm-build
Devs : regular make package compilation.

# User installation/uninstallation
sudo dnf install ./medInria-4.0.0-Fedora_33-x86_64.rpm
sudo dnf remove medInria
# Then the user only needs to:
medInria

Copy link
Member

@Florent2305 Florent2305 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Privet plugins must be stay

@mathildemerle
Copy link
Collaborator Author

I created a wiki medInria page with the DEB/RPM documentation : https://github.com/medInria/medInria-public/wiki/DEB-RPM-management

@Florent2305
Copy link
Member

I created a wiki medInria page with the DEB/RPM documentation : https://github.com/medInria/medInria-public/wiki/DEB-RPM-management

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants