Skip to content

Installing from a tarball without borking my system?

I'm trying to test a certain build of SDL2 that has some extra build flags enabled, and it's distributed as a .tar.xz. The only problem is I also have packages installed that depend on the version of SDL2 from the repositories. Is there a way to install this build without breaking my system, and without having to uninstall everything that depends on SDL2?

7 points5 comments
Open on Reddit
About this post
Posted
Archived
Score
7 · 78% up
Kind
Text
ID
lpud74

Author

60
posts
198
comments
4
media
View profile

5 comments

The easiest way would be to just download the PKGBUILD for SDL2 and change whatever you want there, then reinstall. If it breaks your system you can just reinstall from the repos.

11 points

In addition to what others said about modifying the PKGBUILD, I highly recommend you give your package a different name and make it provide and conflict with sdl2, the way that the AUR sdl2-git package does it. Otherwise, pacman will overwrite your custom package with the official one once an update comes out.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.