Skip to content

Is it possible to download an older version of AUR package?

Removed before it was archived.

1 points6 comments
Open on Reddit
About this post
Posted
Archived
Deleted on
Score
1 · 100% up
Kind
Text
ID
fpore5

6 comments

Clone the AUR package's git repository and simply check out an earlier commit. Assuming the old sources are still available, and assuming there are no dependency conflicts, then it should build just fine via makepkg.

# clone the package repo
git clone https://aur.archlinux.org/packagename.git
cd packagename
# search the git log for an older commit
git log
# check out the commit directly
git checkout COMMIT_ID
# build the package
makepkg
3 points

I am not aware if there is a way for AUR packages like there is for normal repo packages.

If no one else has better advice for a simpler solution, you could likely just use the PKGBUILD as a template to build/install it yourself, or just make a few edits to it. The PKGBUILD format is pretty intuitive, you won't have much problem figuring it out.

Just make sure that your AUR helper does not try upgrade it after you get it, so install manually or blacklist it.

1 points

I went to the "view changes" part and it brought me to the 2.5.1 PKGBUILD to download in the form of .tar.gz.

Is this what I should download and then run makepkg -si to install it right?

1 points

Yeah, that should do it, even better you found the older PKGBUILD.

Give it a try, and hope there is no dependency issues to run into that will complicate it.

1 points

AUR packages use Git. you can find any previous version.

it's really simple. goto AUR wepage for bigwig-studio, then under ''Package Actions'', click on ''view changes''... from here you will be taken to cgit for the package.

next, browse down to 'update to 2.5.1'. click the link.

https://aur.archlinux.org/cgit/aur.git/commit/?h=bitwig-studio&id=4eade85232979f104bf0ed8fe74550d575811461

see where it says ''download''?

that's what you are looking for... it's a snapshot of the aur package, at that revision (version 2.5.1 update in aur).

i don't know if the package may need fixes or updates from the newer packages, bu this is, in fact, one way to download older aur packages

1 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.