Luci-lib-json won't install
- 
					
					
					
					
 Hi. I need the luci-lib-json package for a project. But when i try to install it with "opkg install luci-lib-json" it returns: "Unknown package 'luci-lib-json'. 
 Collected errors:- opkg_install_cmd: Cannot install package luci-lib-json."
 How do i get luci-lib-json? 
 
- 
					
					
					
					
 @Visti-Stenmo My guess is that luci-lib-jsonpackage is not available for the OmegaI have just done an opkg updatefollowed by anopkg listlooking for that package and can find no reference to it.When doing a make menuconfigon an OpenWrt cross build system (see: https://wiki.onion.io/Tutorials/Cross-Compile), I can find reference to it and could potentially build it for you if you want.
 
- 
					
					
					
					
 This post is deleted!
 
- 
					
					
					
					
 @Kit-Bishop Oh alright. I thought that might be the problem. I'm new to all this. So how will I get it installed, if you were to build it for me? I don't think i fully understand it all. Thank you very much, for your help. 
 
- 
					
					
					
					
 @Visti-Stenmo If I were to build a package for you, it would be in the form of an .ipkpackage file.
 As well as installing packages from feeds,opkgcan install from a namedxxxx.ipkfile.
 All that would be required would be to copy the package file to the Omega and then run opkg on that file.Can't guarantee that I will be able to produce a usable package - I am not familiar with the use of luci or json - and there may be some dependency issues that I am currently unaware of - however, I am prepared to give it a go if you want - let me know. 
 
- 
					
					
					
					
 @Kit-Bishop That cleared it up for me. Thanks! I would really appreciate it, if you want to build it. 
 
- 
					
					
					
					
 @Visti-Stenmo Will give it a go for you - may take a while - keep your eyes open for it being posted here 
 
- 
					
					
					
					
 @Kit-Bishop Thank you very much. You've been very helpful 
 
- 
					
					
					
					
 @Visti-Stenmo Not sure if I've got it right or not, but as a result of using OpenWrt cross compilation, I have ended up with two .ipkfiles associated withluci-lib-json
 They are:- 0_1476759832412_luci-lib-json_git-16.206.66468-6f5c466-1_all.ipk
- 0_1476759852461_luci-lib-jsonc_git-16.206.66468-6f5c466-1_ar71xx.ipk
 I really have no way of testing these myself (primarily because of my unfamiliarity with luci and json). To give them a try: - Copy to some directory on your omega
- Within that directory run the command opkg install <ipk-filename>
 
 
- 
					
					
					
					
 @Kit-Bishop Thanks! I'll see if I can make it work. I'll let you know, whether they do or not. But it'll probably be tomorrow (It's late and i need to go to bed, haha). 
 
- 
					
					
					
					
 @Kit-Bishop said in Luci-lib-json won't install: - Copy to some directory on your omega
- Within that directory run the command opkg install <ipk-filename>
 As i remember the /tmp folder is the right place to copy install files in it. If you put a to big file in this folder, you just can restart the omega and it works again because the file will not been stored permanently. I hope I'm right about that ?! 
 
- 
					
					
					
					
 @Kit-Bishop This might be a really stupid question. But how do i copy the files to a directory on my omega? 
 
- 
					
					
					
					
 @Visti-Stenmo Simplest way of copying files is to use SCP or FTP or something similar 
 On Windows I use WinSCP connected using the Omega IP address on port 22
 On Linux I set up a Network connection to ftp://root@<ip-address>:21/