LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 04-10-2022, 08:55 AM   #1
shaybani
LQ Newbie
 
Registered: Mar 2022
Location: Everywhere
Distribution: Debian
Posts: 16

Rep: Reputation: 0
Installing AUR packages without arch specific programs (makepkg, pacman, yay, etc)


Hello, I was wondering if it was possible to install AUR packages without using arch specific programs such as makepkg and instead using something like make. Is this possible?
 
Old 04-10-2022, 09:30 AM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,147
Blog Entries: 6

Rep: Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834
Yes, do you have an example?
 
Old 04-10-2022, 10:05 AM   #3
shaybani
LQ Newbie
 
Registered: Mar 2022
Location: Everywhere
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by teckk View Post
Yes, do you have an example?
Example package? I didn't have a particular one in mind but I guess neofetch would work
 
Old 04-10-2022, 10:06 AM   #4
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,147
Blog Entries: 6

Rep: Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834
Example:
https://aur.archlinux.org/packages/simple-mtpfs
https://github.com/phatina/simple-mtpfs/
https://aur.archlinux.org/cgit/aur.g...h=simple-mtpfs

Get the source
Code:
curl https://codeload.github.com/phatina/simple-mtpfs/tar.gz/refs/tags/v0.4.0 -o smtp.040.tar.gz
The Dependencies are: you'll have to build or install these first.
Code:
depends=('libmtp' 'fuse' 'gcc-libs')
And it builds with autoconf, so that is a depend also. Otherwise you are going to have to create a Makefile for make.

Code:
#make a temp build dir
mkdir ~/simp

#untar
tar -xf smtp.040.tar.gz -C ~/simp/

#change in to build dir
cd ~/simp/simple-mtpfs-0.4.0

#Set it up 
./autogen.sh
./configure --prefix=/usr

#compile
make
If you did not get any compiler errors, for a missing depend, or ...
Code:
~/simp/simple-mtpfs-0.4.0/src/simple-mtpfs -h
                                                                                                                  
usage: simple-mtpfs <source> mountpoint [options]                                                                                                             

general options:                                                                                                                                        
    -o opt,[opt...]        mount options                                                                                                                      
    -h   --help            print help                                                                                                                         
    -V   --version         print version                                                                                                                      

simple-mtpfs options:                                                                                                                                         
    -v   --verbose         verbose output, implies -f                                                                                                         
    -l   --list-devices    print available devices. Supports <source> option                                                                                  
         --device          select a device number to mount                                                                                                    
    -o enable-move         enable the move operations                                                                                                         

FUSE options:                                                                                                                               
    -d   -o debug          enable debug output (implies -f)                                                                                                   
    -f                     foreground operation                                                                                                               
    -s                     disable multi-threaded operation                                                                                                   

    -o allow_other         allow access to other users                                                                                                        
    -o allow_root          allow access to root                                                                                                               
    -o auto_unmount        auto unmount on process termination                                                                                                
    -o nonempty            allow mounts over non-empty file/dir                                                                                               
    -o default_permissions enable permission checking by kernel
...
 
1 members found this post helpful.
Old 04-10-2022, 10:09 AM   #5
shaybani
LQ Newbie
 
Registered: Mar 2022
Location: Everywhere
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by teckk View Post
Example:
https://aur.archlinux.org/packages/simple-mtpfs
https://github.com/phatina/simple-mtpfs/
https://aur.archlinux.org/cgit/aur.g...h=simple-mtpfs

Get the source
Code:
curl https://codeload.github.com/phatina/simple-mtpfs/tar.gz/refs/tags/v0.4.0 -o smtp.040.tar.gz
The Dependencies are: you'll have to build or install these first.
Code:
depends=('libmtp' 'fuse' 'gcc-libs')
And it builds with autoconf, so that is a depend also. Otherwise you are going to have to create a Makefile for make.

Code:
#make a temp build dir
mkdir ~/simp

#untar
tar -xf smtp.040.tar.gz -C ~/simp/

#change in to build dir
cd ~/simp/simple-mtpfs-0.4.0

#Set it up 
./autogen.sh
./configure --prefix=/usr

#compile
make
If you did not get any compiler errors, for a missing depend, or ...
Code:
~/simp/simple-mtpfs-0.4.0/src/simple-mtpfs -h
                                                                                                                  
usage: simple-mtpfs <source> mountpoint [options]                                                                                                             

general options:                                                                                                                                        
    -o opt,[opt...]        mount options                                                                                                                      
    -h   --help            print help                                                                                                                         
    -V   --version         print version                                                                                                                      

simple-mtpfs options:                                                                                                                                         
    -v   --verbose         verbose output, implies -f                                                                                                         
    -l   --list-devices    print available devices. Supports <source> option                                                                                  
         --device          select a device number to mount                                                                                                    
    -o enable-move         enable the move operations                                                                                                         

FUSE options:                                                                                                                               
    -d   -o debug          enable debug output (implies -f)                                                                                                   
    -f                     foreground operation                                                                                                               
    -s                     disable multi-threaded operation                                                                                                   

    -o allow_other         allow access to other users                                                                                                        
    -o allow_root          allow access to root                                                                                                               
    -o auto_unmount        auto unmount on process termination                                                                                                
    -o nonempty            allow mounts over non-empty file/dir                                                                                               
    -o default_permissions enable permission checking by kernel
...
This is what I was looking for, thank you!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] pacman and yay search - returned result is overwhelming.. most of them don't even have the string that i tried to search. andrewysk Linux - Newbie 12 01-05-2022 07:41 AM
LXer: How to Install yay AUR Helper in Arch Linux Beginner’s Guide LXer Syndicated Linux News 0 01-23-2021 10:51 PM
LXer: Packer – (AUR+Pacman) wrapper which replaces poorly written Yaourt LXer Syndicated Linux News 0 08-17-2016 06:26 PM
Anyone else 'pacman -Sy' instead of simply 'pacman -S'-ing packages? Kenny_Strawn Arch 15 03-23-2011 01:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 01:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration