Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1589  / 2 Years ago, wed, july 6, 2022, 12:02:31

I'm sorry but I have tried the tutorials on various websites. Nothing, so far, has worked. I'm using Ubuntu Maverick 10.10. I've downloaded, compiled and installed GCC 4.7.0. Now I want to make a .deb file of the GCC 4.7.0. Could anybody give me the sure steps to creating a GCC 4.7.0 .deb file? Thank you!


More From » 10.10

 Answers
2

How to make a .deb file of a source package for personal installation/uninstallation only, NOT for distribution




Warning: Note that packaging a source package for distribution via PPA or even via plain .deb is quite complicated and you should start off with this guide and its links as well as this other guide in that case. I have also found the #debian-mentors channel on the official Debian IRC to be a great situation-specific resource for beginning packagers/devs.




To create a deb for personal use, the easy solution for most cases is to simply use checkinstall, which will create a .deb file that you can not only install on other (compatible) systems with the appropriate dependencies installed, but also allows you to uninstall the package. Note that GCC is a large and complex package, so checkinstall may not work with it!




  • sudo apt-get install checkinstall -y

  • When done with make, run checkinstall instead of make install

  • checkinstall will install your application AND give you a .deb file in the current (source) folder which you can simply copy and install on other systems with dpkg -i

  • Use dpkg -r application-name to remove the application at any time (should also work from Synaptic)


[#37586] Thursday, July 7, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
alkeake

Total Points: 467
Total Questions: 94
Total Answers: 126

Location: Tajikistan
Member since Tue, Jun 15, 2021
3 Years ago
alkeake questions
Mon, Jul 5, 21, 09:24, 3 Years ago
Sun, Apr 23, 23, 03:29, 1 Year ago
Thu, Dec 22, 22, 20:30, 1 Year ago
;